@extends('admin.layout.common')
@section('content')
	<link rel="stylesheet" type="text/css" href="{{URL::asset('css/article/announcement.css')}}">
		<div class="content">
			<form method="post" action="{{url('/admin/addArticle')}}" >
				{{csrf_field()}}
				<p>
					<label>发布范围:
						<select name="department_ids"  required style="width: 290px; margin-left: 10px; margin-right: 20px;height: 40px;border: 1px solid #CCCCCC;">
							<option value="{{$ids}}">全部部门</option>
							@foreach($depData as $v)
								<option value="{{$v['id']}}">{{$v['name_cn']}}</option>
							@endforeach
						</select>
					</label>

				</p>
				<label style="margin-top:10px;">发布内容：</label>
				<textarea name="content" rows="10" cols="20" placeholder="备注"  required style="vertical-align:top;margin-top:10px;"></textarea><br/>
				<!-- <button type="button" class="btn">提交</button> -->
				<input type="submit" value="提交" class="btn" >
			</form>
			
		</div>

<script src="https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
@endsection
